package po;

import java.sql.Date;

public class Student {
	private Long studentNo;
	private String studentName;
	private Room room;
	private String tel;
	private Date birthday;
	private String email;
	private String NPlace;
	private String address;
	public Student() {
		super();
	}
	
	public Student(Long studentNo, String studentName, Room room, String tel, Date birthday, String email,
			String nPlace, String address) {
		super();
		this.studentNo = studentNo;
		this.studentName = studentName;
		this.room = room;
		this.tel = tel;
		this.birthday = birthday;
		this.email = email;
		NPlace = nPlace;
		this.address = address;
	}
	
	public Long getStudentNo() {
		return studentNo;
	}

	public void setStudentNo(Long studentNo) {
		this.studentNo = studentNo;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public Room getRoom() {
		return room;
	}

	public void setRoom(Room room) {
		this.room = room;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getNPlace() {
		return NPlace;
	}

	public void setNPlace(String nPlace) {
		NPlace = nPlace;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "student [studentNo=" + studentNo + ", studentName=" + studentName + ", room=" + room
				+ ", tel=" + tel + ", birthday=" + birthday + ", email=" + email + ", NPlace=" + NPlace + ", address="
				+ address + "]";
	}
	
	
	
}
